package com.fh.model.loan;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CallLoanLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CallLoanLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidIsNull() {
            addCriterion("call_loan_nid is null");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidIsNotNull() {
            addCriterion("call_loan_nid is not null");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidEqualTo(String value) {
            addCriterion("call_loan_nid =", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidNotEqualTo(String value) {
            addCriterion("call_loan_nid <>", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidGreaterThan(String value) {
            addCriterion("call_loan_nid >", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidGreaterThanOrEqualTo(String value) {
            addCriterion("call_loan_nid >=", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidLessThan(String value) {
            addCriterion("call_loan_nid <", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidLessThanOrEqualTo(String value) {
            addCriterion("call_loan_nid <=", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidLike(String value) {
            addCriterion("call_loan_nid like", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidNotLike(String value) {
            addCriterion("call_loan_nid not like", value, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidIn(List<String> values) {
            addCriterion("call_loan_nid in", values, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidNotIn(List<String> values) {
            addCriterion("call_loan_nid not in", values, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidBetween(String value1, String value2) {
            addCriterion("call_loan_nid between", value1, value2, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallLoanNidNotBetween(String value1, String value2) {
            addCriterion("call_loan_nid not between", value1, value2, "callLoanNid");
            return (Criteria) this;
        }

        public Criteria andCallUserIsNull() {
            addCriterion("call_user is null");
            return (Criteria) this;
        }

        public Criteria andCallUserIsNotNull() {
            addCriterion("call_user is not null");
            return (Criteria) this;
        }

        public Criteria andCallUserEqualTo(Integer value) {
            addCriterion("call_user =", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserNotEqualTo(Integer value) {
            addCriterion("call_user <>", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserGreaterThan(Integer value) {
            addCriterion("call_user >", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("call_user >=", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserLessThan(Integer value) {
            addCriterion("call_user <", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserLessThanOrEqualTo(Integer value) {
            addCriterion("call_user <=", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserIn(List<Integer> values) {
            addCriterion("call_user in", values, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserNotIn(List<Integer> values) {
            addCriterion("call_user not in", values, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserBetween(Integer value1, Integer value2) {
            addCriterion("call_user between", value1, value2, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserNotBetween(Integer value1, Integer value2) {
            addCriterion("call_user not between", value1, value2, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallTypeIsNull() {
            addCriterion("call_type is null");
            return (Criteria) this;
        }

        public Criteria andCallTypeIsNotNull() {
            addCriterion("call_type is not null");
            return (Criteria) this;
        }

        public Criteria andCallTypeEqualTo(Integer value) {
            addCriterion("call_type =", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeNotEqualTo(Integer value) {
            addCriterion("call_type <>", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeGreaterThan(Integer value) {
            addCriterion("call_type >", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("call_type >=", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeLessThan(Integer value) {
            addCriterion("call_type <", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeLessThanOrEqualTo(Integer value) {
            addCriterion("call_type <=", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeIn(List<Integer> values) {
            addCriterion("call_type in", values, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeNotIn(List<Integer> values) {
            addCriterion("call_type not in", values, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeBetween(Integer value1, Integer value2) {
            addCriterion("call_type between", value1, value2, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("call_type not between", value1, value2, "callType");
            return (Criteria) this;
        }

        public Criteria andToRealNameIsNull() {
            addCriterion("to_real_name is null");
            return (Criteria) this;
        }

        public Criteria andToRealNameIsNotNull() {
            addCriterion("to_real_name is not null");
            return (Criteria) this;
        }

        public Criteria andToRealNameEqualTo(String value) {
            addCriterion("to_real_name =", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotEqualTo(String value) {
            addCriterion("to_real_name <>", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameGreaterThan(String value) {
            addCriterion("to_real_name >", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("to_real_name >=", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameLessThan(String value) {
            addCriterion("to_real_name <", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameLessThanOrEqualTo(String value) {
            addCriterion("to_real_name <=", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameLike(String value) {
            addCriterion("to_real_name like", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotLike(String value) {
            addCriterion("to_real_name not like", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameIn(List<String> values) {
            addCriterion("to_real_name in", values, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotIn(List<String> values) {
            addCriterion("to_real_name not in", values, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameBetween(String value1, String value2) {
            addCriterion("to_real_name between", value1, value2, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotBetween(String value1, String value2) {
            addCriterion("to_real_name not between", value1, value2, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToMobileIsNull() {
            addCriterion("to_mobile is null");
            return (Criteria) this;
        }

        public Criteria andToMobileIsNotNull() {
            addCriterion("to_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andToMobileEqualTo(String value) {
            addCriterion("to_mobile =", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotEqualTo(String value) {
            addCriterion("to_mobile <>", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileGreaterThan(String value) {
            addCriterion("to_mobile >", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileGreaterThanOrEqualTo(String value) {
            addCriterion("to_mobile >=", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileLessThan(String value) {
            addCriterion("to_mobile <", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileLessThanOrEqualTo(String value) {
            addCriterion("to_mobile <=", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileLike(String value) {
            addCriterion("to_mobile like", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotLike(String value) {
            addCriterion("to_mobile not like", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileIn(List<String> values) {
            addCriterion("to_mobile in", values, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotIn(List<String> values) {
            addCriterion("to_mobile not in", values, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileBetween(String value1, String value2) {
            addCriterion("to_mobile between", value1, value2, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotBetween(String value1, String value2) {
            addCriterion("to_mobile not between", value1, value2, "toMobile");
            return (Criteria) this;
        }

        public Criteria andCallResultIsNull() {
            addCriterion("call_result is null");
            return (Criteria) this;
        }

        public Criteria andCallResultIsNotNull() {
            addCriterion("call_result is not null");
            return (Criteria) this;
        }

        public Criteria andCallResultEqualTo(String value) {
            addCriterion("call_result =", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotEqualTo(String value) {
            addCriterion("call_result <>", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultGreaterThan(String value) {
            addCriterion("call_result >", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultGreaterThanOrEqualTo(String value) {
            addCriterion("call_result >=", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultLessThan(String value) {
            addCriterion("call_result <", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultLessThanOrEqualTo(String value) {
            addCriterion("call_result <=", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultLike(String value) {
            addCriterion("call_result like", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotLike(String value) {
            addCriterion("call_result not like", value, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultIn(List<String> values) {
            addCriterion("call_result in", values, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotIn(List<String> values) {
            addCriterion("call_result not in", values, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultBetween(String value1, String value2) {
            addCriterion("call_result between", value1, value2, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultNotBetween(String value1, String value2) {
            addCriterion("call_result not between", value1, value2, "callResult");
            return (Criteria) this;
        }

        public Criteria andCallResultDescIsNull() {
            addCriterion("call_result_desc is null");
            return (Criteria) this;
        }

        public Criteria andCallResultDescIsNotNull() {
            addCriterion("call_result_desc is not null");
            return (Criteria) this;
        }

        public Criteria andCallResultDescEqualTo(String value) {
            addCriterion("call_result_desc =", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescNotEqualTo(String value) {
            addCriterion("call_result_desc <>", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescGreaterThan(String value) {
            addCriterion("call_result_desc >", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescGreaterThanOrEqualTo(String value) {
            addCriterion("call_result_desc >=", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescLessThan(String value) {
            addCriterion("call_result_desc <", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescLessThanOrEqualTo(String value) {
            addCriterion("call_result_desc <=", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescLike(String value) {
            addCriterion("call_result_desc like", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescNotLike(String value) {
            addCriterion("call_result_desc not like", value, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescIn(List<String> values) {
            addCriterion("call_result_desc in", values, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescNotIn(List<String> values) {
            addCriterion("call_result_desc not in", values, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescBetween(String value1, String value2) {
            addCriterion("call_result_desc between", value1, value2, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andCallResultDescNotBetween(String value1, String value2) {
            addCriterion("call_result_desc not between", value1, value2, "callResultDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeIsNull() {
            addCriterion("actual_call_time is null");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeIsNotNull() {
            addCriterion("actual_call_time is not null");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeEqualTo(String value) {
            addCriterion("actual_call_time =", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeNotEqualTo(String value) {
            addCriterion("actual_call_time <>", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeGreaterThan(String value) {
            addCriterion("actual_call_time >", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeGreaterThanOrEqualTo(String value) {
            addCriterion("actual_call_time >=", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeLessThan(String value) {
            addCriterion("actual_call_time <", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeLessThanOrEqualTo(String value) {
            addCriterion("actual_call_time <=", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeLike(String value) {
            addCriterion("actual_call_time like", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeNotLike(String value) {
            addCriterion("actual_call_time not like", value, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeIn(List<String> values) {
            addCriterion("actual_call_time in", values, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeNotIn(List<String> values) {
            addCriterion("actual_call_time not in", values, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeBetween(String value1, String value2) {
            addCriterion("actual_call_time between", value1, value2, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andActualCallTimeNotBetween(String value1, String value2) {
            addCriterion("actual_call_time not between", value1, value2, "actualCallTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}